package com.example.android_kakao;

import java.text.*;
import java.util.*;

public class ReciveMsgData extends MyData {

	private String mMsg;
	private String mWriter;

	public ReciveMsgData(String msg, String writer) {
		super(MyData.TYPE_RECIVE);
		mMsg = msg;
		mWriter = writer;
	}

	public String getmMsg() {
		return mMsg;
	}

	public String getmWriter() {
		return mWriter;
	}

	public String getDataTimeToString(){
		SimpleDateFormat formatter = new SimpleDateFormat("a HH:mm",Locale.KOREA);
		return formatter.format(mData);
	}
		
}
